package com.ict.web.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 云资源需求对象 yzq_cloud_resource_requirement
 * 
 * @author ruoyi
 * @date 2022-03-07
 */
@Data
@TableName("yzq_cloud_resource_requirement")
public class CloudResourceRequirement implements Serializable
{
    private static final long serialVersionUID = 1L;

    public static final String DELETE_STATUS_NORMAL = "0";
    public static final String DELETE_STATUS_UNNORMAL = "1";

    /** 云资源id */
    @ApiModelProperty(value = "云资源id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @TableId(type = IdType.ASSIGN_UUID)
    private Long cloudResourceId;

    /** 方案id */
    @ApiModelProperty(value = "方案id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long programmeId;

    /** 云服务器名称 */
    @ApiModelProperty(value = "云服务器名称")
    private String cloudServerName;

    /** 中央处理机（cpu） */
    @ApiModelProperty(value ="中央处理机")
    private String cpu;

    /** 内存 */
    @ApiModelProperty(value = "内存")
    private String memory;

    /** 硬盘 */
   @ApiModelProperty(value = "硬盘")
    private String hardDisk;

    /** 数量 */
   @ApiModelProperty(value = "数量")
    private Integer number;

    /** 删除状态{0正常1删除} */
    @ApiModelProperty(value = "删除状态{0正常1删除}")
    private String delFlag;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

}
